package com.woniuxy.sale.service;

import com.woniuxy.model.vo.UpdateSaleMoneyVo;
import com.woniuxy.response.CustomPage;
import com.woniuxy.model.entity.ExportTable;
import com.woniuxy.model.entity.SaleMoney;
import com.woniuxy.sale.entity.dto.SaleMoneyDTO;
import com.woniuxy.sale.entity.vo.*;
import com.woniuxy.sale.exception.SaleMoneyAddException;

import java.util.List;

/**
 * <p>
 * 金额结算表; 服务类
 * </p>
 *
 * @author lio
 * @since 2023-09-07
 */
public interface SaleMoneyService{

    boolean add(SaleMoneyVo saleMoneyVo) throws SaleMoneyAddException;


    boolean updateState(UpdateSaleMoneyVo updateSaleMoneyVo);

    CustomPage<List<SaleMoney>> moneyManage(MoneyManageVo moneyManageVo);

    boolean del(Integer id, String operator);

    boolean submitSaleMoney(SubmitSaleMoneyVo submitSaleMoneyVo);

    boolean updateSaleMoney(SaleMoneyUpdateVo saleMoneyUpdateVo);

    CustomPage<List<SaleMoneyDTO>> moneyInfo(SaleMoneyInfoVo saleMoneyInfoVo);

    boolean exportSaleMoney(ExportTable table);
}
